package fsoft.com.vn.directory.service;

import fsoft.com.vn.directory.dao.LoginDAO;
import fsoft.com.vn.directory.form.Login;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
public class LoginServiceImpl implements LoginService {

	@Autowired
	private LoginDAO loginDAO;

	@Transactional
	public Login checklogin(String name, String pass) {		
		return loginDAO.checklogin(name, pass);
	}
	
	

}
